package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_year_master", desc = "瑞兽格子消耗", autoSave = true, uploadCk = true)
public class LogYearMaster extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(desc = "游戏模式")
    private int mode;
    @FieldTypeAnnotation(desc = "消除类型")
    private int gridType;
    @FieldTypeAnnotation(desc = "消除格子数量")
    private int gridNum;
    @FieldTypeAnnotation(desc = "道具奖励")
    private String rewards;

    public LogYearMaster(long userId, int activityId, int mode, int gridType, int gridNum, String rewards) {
        this.userId = userId;
        this.activityId = activityId;
        this.mode = mode;
        this.gridType = gridType;
        this.gridNum = gridNum;
        this.rewards = rewards;
    }

    public long getUserId() {
        return userId;
    }

}
